/*!
 *
 * Copyright 2010, Jorge Martinez Navarrete (http://bebemama.org)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://bebemama.org
 */

// country variables
var AFG= {code: "AFG", incomeLevel: "Low income", gniCap: 310, adolFertility:120, fertility:6.6, matMortality: 1400, childMortality:201, infantMortality:135};
var ALB= {code: "ALB", incomeLevel: "Upper middle income", gniCap: 3880, adolFertility:14, fertility:1.9, matMortality: 31, childMortality:16, infantMortality:14};
var DZA= {code: "DZA", incomeLevel: "Upper middle income", gniCap: 4260, adolFertility:7, fertility:2.4, matMortality: 120, childMortality:34, infantMortality:30};
var ASM= {code: "ASM", incomeLevel: "Upper middle income", gniCap: null, adolFertility:null, fertility:null, matMortality: null, childMortality:null, infantMortality:null};
var ADO= {code: "ADO", incomeLevel: "High income: nonOECD", gniCap: 41130, adolFertility:null, fertility:1.3, matMortality: null, childMortality:4, infantMortality:3};
var AGO= {code: "AGO", incomeLevel: "Lower middle income", gniCap: 3330, adolFertility:123, fertility:5.8, matMortality: 610, childMortality:166, infantMortality:101};
var ATG= {code: "ATG", incomeLevel: "Upper middle income", gniCap: 13020, adolFertility:null, fertility:null, matMortality: null, childMortality:12, infantMortality:11};
var ARG= {code: "ARG", incomeLevel: "Upper middle income", gniCap: 7160, adolFertility:57, fertility:2.2, matMortality: 70, childMortality:15, infantMortality:14};
var ARM= {code: "ARM", incomeLevel: "Lower middle income", gniCap: 3350, adolFertility:36, fertility:1.7, matMortality: 29, childMortality:23, infantMortality:21};
var ABW= {code: "ABW", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:33, fertility:1.7, matMortality: null, childMortality:null, infantMortality:null};
var AUS= {code: "AUS", incomeLevel: "High income: OECD", gniCap: 41890, adolFertility:15, fertility:2, matMortality: 8, childMortality:5, infantMortality:4};
var AUT= {code: "AUT", incomeLevel: "High income: OECD", gniCap: 46250, adolFertility:13, fertility:1.4, matMortality: 5, childMortality:4, infantMortality:4};
var AZE= {code: "AZE", incomeLevel: "Upper middle income", gniCap: 3830, adolFertility:34, fertility:2.3, matMortality: 38, childMortality:36, infantMortality:32};
var BHS= {code: "BHS", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:53, fertility:2, matMortality: 49, childMortality:13, infantMortality:9};
var BHR= {code: "BHR", incomeLevel: "High income: nonOECD", gniCap: 25420, adolFertility:17, fertility:2.3, matMortality: 19, childMortality:12, infantMortality:10};
var BGD= {code: "BGD", incomeLevel: "Low income", gniCap: 520, adolFertility:70, fertility:2.3, matMortality: 340, childMortality:55, infantMortality:43};
var BRB= {code: "BRB", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:43, fertility:1.5, matMortality: 64, childMortality:11, infantMortality:10};
var BLR= {code: "BLR", incomeLevel: "Upper middle income", gniCap: 5440, adolFertility:21, fertility:1.4, matMortality: 15, childMortality:13, infantMortality:11};
var BEL= {code: "BEL", incomeLevel: "High income: OECD", gniCap: 44720, adolFertility:8, fertility:1.8, matMortality: 5, childMortality:5, infantMortality:4};
var BLZ= {code: "BLZ", incomeLevel: "Lower middle income", gniCap: 3740, adolFertility:78, fertility:2.9, matMortality: 94, childMortality:19, infantMortality:16};
var BEN= {code: "BEN", incomeLevel: "Low income", gniCap: 700, adolFertility:111, fertility:5.4, matMortality: 410, childMortality:121, infantMortality:76};
var BMU= {code: "BMU", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:null, fertility:1.8, matMortality: null, childMortality:null, infantMortality:null};
var BTN= {code: "BTN", incomeLevel: "Lower middle income", gniCap: 1800, adolFertility:37, fertility:2.6, matMortality: 200, childMortality:81, infantMortality:54};
var BOL= {code: "BOL", incomeLevel: "Lower middle income", gniCap: 1450, adolFertility:78, fertility:3.5, matMortality: 180, childMortality:54, infantMortality:42};
var BIH= {code: "BIH", incomeLevel: "Upper middle income", gniCap: 4520, adolFertility:16, fertility:1.2, matMortality: 9, childMortality:15, infantMortality:13};
var BWA= {code: "BWA", incomeLevel: "Upper middle income", gniCap: 6550, adolFertility:51, fertility:2.9, matMortality: 190, childMortality:59, infantMortality:44};
var BRA= {code: "BRA", incomeLevel: "Upper middle income", gniCap: 7440, adolFertility:75, fertility:1.9, matMortality: 58, childMortality:22, infantMortality:18};
var BRN= {code: "BRN", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:25, fertility:2.1, matMortality: 21, childMortality:7, infantMortality:6};
var BGR= {code: "BGR", incomeLevel: "Upper middle income", gniCap: 5700, adolFertility:42, fertility:1.5, matMortality: 13, childMortality:11, infantMortality:9};
var BFA= {code: "BFA", incomeLevel: "Low income", gniCap: 480, adolFertility:129, fertility:5.9, matMortality: 560, childMortality:169, infantMortality:92};
var BDI= {code: "BDI", incomeLevel: "Low income", gniCap: 140, adolFertility:19, fertility:4.6, matMortality: 970, childMortality:168, infantMortality:102};
var KHM= {code: "KHM", incomeLevel: "Low income", gniCap: 610, adolFertility:39, fertility:2.9, matMortality: 290, childMortality:90, infantMortality:69};
var CMR= {code: "CMR", incomeLevel: "Lower middle income", gniCap: 1140, adolFertility:126, fertility:4.6, matMortality: 600, childMortality:155, infantMortality:95};
var CAN= {code: "CAN", incomeLevel: "High income: OECD", gniCap: 43420, adolFertility:13, fertility:1.6, matMortality: 12, childMortality:6, infantMortality:5};
var CPV= {code: "CPV", incomeLevel: "Lower middle income", gniCap: 2830, adolFertility:93, fertility:2.7, matMortality: 94, childMortality:29, infantMortality:24};
var CYM= {code: "CYM", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:null, fertility:null, matMortality: null, childMortality:null, infantMortality:null};
var CAF= {code: "CAF", incomeLevel: "Low income", gniCap: 410, adolFertility:104, fertility:4.8, matMortality: 850, childMortality:172, infantMortality:113};
var TCD= {code: "TCD", incomeLevel: "Low income", gniCap: 540, adolFertility:162, fertility:6.2, matMortality: 1200, childMortality:209, infantMortality:124};
var CHI= {code: "CHI", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:10, fertility:1.4, matMortality: null, childMortality:null, infantMortality:null};
var CHL= {code: "CHL", incomeLevel: "Upper middle income", gniCap: 9510, adolFertility:59, fertility:1.9, matMortality: 26, childMortality:9, infantMortality:7};
var CHN= {code: "CHN", incomeLevel: "Lower middle income", gniCap: 3050, adolFertility:10, fertility:1.8, matMortality: 38, childMortality:21, infantMortality:18};
var COL= {code: "COL", incomeLevel: "Upper middle income", gniCap: 4610, adolFertility:74, fertility:2.4, matMortality: 85, childMortality:20, infantMortality:17};
var COM= {code: "COM", incomeLevel: "Low income", gniCap: 750, adolFertility:45, fertility:4, matMortality: 340, childMortality:105, infantMortality:76};
var ZAR= {code: "ZAR", incomeLevel: "Low income", gniCap: 150, adolFertility:198, fertility:6, matMortality: 670, childMortality:199, infantMortality:126};
var COG= {code: "COG", incomeLevel: "Lower middle income", gniCap: 1980, adolFertility:111, fertility:4.4, matMortality: 580, childMortality:127, infantMortality:80};
var CRI= {code: "CRI", incomeLevel: "Upper middle income", gniCap: 6060, adolFertility:67, fertility:2, matMortality: 44, childMortality:11, infantMortality:10};
var CIV= {code: "CIV", incomeLevel: "Lower middle income", gniCap: 980, adolFertility:128, fertility:4.6, matMortality: 470, childMortality:121, infantMortality:85};
var HRV= {code: "HRV", incomeLevel: "High income: nonOECD", gniCap: 13580, adolFertility:14, fertility:1.5, matMortality: 14, childMortality:6, infantMortality:5};
var CUB= {code: "CUB", incomeLevel: "Upper middle income", gniCap: 5550, adolFertility:45, fertility:1.5, matMortality: 53, childMortality:6, infantMortality:5};
var CYP= {code: "CYP", incomeLevel: "High income: nonOECD", gniCap: 26940, adolFertility:6, fertility:1.5, matMortality: 10, childMortality:4, infantMortality:4};
var CZE= {code: "CZE", incomeLevel: "High income: OECD", gniCap: 16670, adolFertility:11, fertility:1.5, matMortality: 8, childMortality:4, infantMortality:3};
var DNK= {code: "DNK", incomeLevel: "High income: OECD", gniCap: 58570, adolFertility:6, fertility:1.9, matMortality: 5, childMortality:4, infantMortality:4};
var DJI= {code: "DJI", incomeLevel: "Lower middle income", gniCap: 1210, adolFertility:23, fertility:3.9, matMortality: 300, childMortality:95, infantMortality:76};
var DMA= {code: "DMA", incomeLevel: "Upper middle income", gniCap: 4780, adolFertility:null, fertility:null, matMortality: null, childMortality:10, infantMortality:9};
var DOM= {code: "DOM", incomeLevel: "Upper middle income", gniCap: 4340, adolFertility:108, fertility:2.6, matMortality: 100, childMortality:33, infantMortality:27};
var ECU= {code: "ECU", incomeLevel: "Lower middle income", gniCap: 3730, adolFertility:83, fertility:2.6, matMortality: 140, childMortality:25, infantMortality:21};
var EGY= {code: "EGY", incomeLevel: "Lower middle income", gniCap: 1800, adolFertility:38, fertility:2.9, matMortality: 82, childMortality:23, infantMortality:20};
var SLV= {code: "SLV", incomeLevel: "Lower middle income", gniCap: 3460, adolFertility:82, fertility:2.3, matMortality: 110, childMortality:18, infantMortality:16};
var GNQ= {code: "GNQ", incomeLevel: "High income: nonOECD", gniCap: 14980, adolFertility:122, fertility:5.3, matMortality: 280, childMortality:148, infantMortality:90};
var ERI= {code: "ERI", incomeLevel: "Low income", gniCap: 270, adolFertility:66, fertility:4.6, matMortality: 280, childMortality:58, infantMortality:41};
var EST= {code: "EST", incomeLevel: "High income: nonOECD", gniCap: 14410, adolFertility:21, fertility:1.7, matMortality: 12, childMortality:6, infantMortality:5};
var ETH= {code: "ETH", incomeLevel: "Low income", gniCap: 280, adolFertility:102, fertility:5.3, matMortality: 470, childMortality:109, infantMortality:69};
var FRO= {code: "FRO", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:null, fertility:null, matMortality: null, childMortality:null, infantMortality:null};
var FJI= {code: "FJI", incomeLevel: "Upper middle income", gniCap: 4060, adolFertility:31, fertility:2.7, matMortality: 26, childMortality:18, infantMortality:16};
var FIN= {code: "FIN", incomeLevel: "High income: OECD", gniCap: 48100, adolFertility:11, fertility:1.8, matMortality: 8, childMortality:3, infantMortality:3};
var FRA= {code: "FRA", incomeLevel: "High income: OECD", gniCap: 42080, adolFertility:7, fertility:2, matMortality: 8, childMortality:4, infantMortality:3};
var PYF= {code: "PYF", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:52, fertility:2.2, matMortality: null, childMortality:null, infantMortality:null};
var GAB= {code: "GAB", incomeLevel: "Upper middle income", gniCap: 7320, adolFertility:89, fertility:3.3, matMortality: 260, childMortality:71, infantMortality:53};
var GMB= {code: "GMB", incomeLevel: "Low income", gniCap: 400, adolFertility:88, fertility:5.1, matMortality: 400, childMortality:106, infantMortality:80};
var GEO= {code: "GEO", incomeLevel: "Lower middle income", gniCap: 2450, adolFertility:44, fertility:1.6, matMortality: 48, childMortality:30, infantMortality:27};
var DEU= {code: "DEU", incomeLevel: "High income: OECD", gniCap: 42670, adolFertility:8, fertility:1.4, matMortality: 7, childMortality:4, infantMortality:4};
var GHA= {code: "GHA", incomeLevel: "Low income", gniCap: 1150, adolFertility:63, fertility:4, matMortality: 350, childMortality:72, infantMortality:49};
var GIB= {code: "GIB", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:null, fertility:null, matMortality: null, childMortality:null, infantMortality:null};
var GRC= {code: "GRC", incomeLevel: "High income: OECD", gniCap: 28020, adolFertility:9, fertility:1.5, matMortality: 2, childMortality:4, infantMortality:3};
var GRL= {code: "GRL", incomeLevel: "High income: nonOECD", gniCap: 32960, adolFertility:null, fertility:2.2, matMortality: null, childMortality:null, infantMortality:null};
var GRD= {code: "GRD", incomeLevel: "Upper middle income", gniCap: 5870, adolFertility:42, fertility:2.3, matMortality: null, childMortality:15, infantMortality:13};
var GUM= {code: "GUM", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:51, fertility:2.5, matMortality: null, childMortality:null, infantMortality:null};
var GTM= {code: "GTM", incomeLevel: "Lower middle income", gniCap: 2670, adolFertility:106, fertility:4.1, matMortality: 110, childMortality:41, infantMortality:33};
var GIN= {code: "GIN", incomeLevel: "Low income", gniCap: 340, adolFertility:151, fertility:5.4, matMortality: 680, childMortality:146, infantMortality:90};
var GNB= {code: "GNB", incomeLevel: "Low income", gniCap: 460, adolFertility:128, fertility:5.7, matMortality: 1000, childMortality:195, infantMortality:117};
var GUY= {code: "GUY", incomeLevel: "Lower middle income", gniCap: 1450, adolFertility:62, fertility:2.3, matMortality: 270, childMortality:36, infantMortality:30};
var HTI= {code: "HTI", incomeLevel: "Low income", gniCap: null, adolFertility:46, fertility:3.5, matMortality: 300, childMortality:89, infantMortality:65};
var HND= {code: "HND", incomeLevel: "Lower middle income", gniCap: 1780, adolFertility:92, fertility:3.3, matMortality: 110, childMortality:31, infantMortality:26};
var HKG= {code: "HKG", incomeLevel: "High income: nonOECD", gniCap: 31420, adolFertility:6, fertility:1, matMortality: null, childMortality:null, infantMortality:null};
var HUN= {code: "HUN", incomeLevel: "High income: OECD", gniCap: 12800, adolFertility:20, fertility:1.4, matMortality: 13, childMortality:7, infantMortality:5};
var ISL= {code: "ISL", incomeLevel: "High income: OECD", gniCap: 50410, adolFertility:15, fertility:2.1, matMortality: 5, childMortality:3, infantMortality:2};
var IND= {code: "IND", incomeLevel: "Lower middle income", gniCap: 1080, adolFertility:67, fertility:2.7, matMortality: 230, childMortality:68, infantMortality:52};
var IDN= {code: "IDN", incomeLevel: "Lower middle income", gniCap: 1880, adolFertility:39, fertility:2.2, matMortality: 240, childMortality:41, infantMortality:31};
var IRN= {code: "IRN", incomeLevel: "Upper middle income", gniCap: 4120, adolFertility:18, fertility:1.8, matMortality: 30, childMortality:32, infantMortality:27};
var IRQ= {code: "IRQ", incomeLevel: "Lower middle income", gniCap: 2060, adolFertility:84, fertility:4.1, matMortality: 75, childMortality:44, infantMortality:36};
var IRL= {code: "IRL", incomeLevel: "High income: OECD", gniCap: 49810, adolFertility:16, fertility:2.1, matMortality: 3, childMortality:4, infantMortality:4};
var IMY= {code: "IMY", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:null, fertility:null, matMortality: null, childMortality:null, infantMortality:null};
var ISR= {code: "ISR", incomeLevel: "High income: OECD", gniCap: 24690, adolFertility:14, fertility:3, matMortality: 7, childMortality:5, infantMortality:4};
var ITA= {code: "ITA", incomeLevel: "High income: OECD", gniCap: 35350, adolFertility:5, fertility:1.4, matMortality: 5, childMortality:4, infantMortality:3};
var JAM= {code: "JAM", incomeLevel: "Upper middle income", gniCap: 4840, adolFertility:77, fertility:2.4, matMortality: 89, childMortality:31, infantMortality:26};
var JPN= {code: "JPN", incomeLevel: "High income: OECD", gniCap: 38000, adolFertility:5, fertility:1.3, matMortality: 6, childMortality:3, infantMortality:3};
var JOR= {code: "JOR", incomeLevel: "Lower middle income", gniCap: 3660, adolFertility:24, fertility:3.5, matMortality: 59, childMortality:26, infantMortality:22};
var KAZ= {code: "KAZ", incomeLevel: "Upper middle income", gniCap: 6140, adolFertility:30, fertility:2.6, matMortality: 45, childMortality:30, infantMortality:27};
var KEN= {code: "KEN", incomeLevel: "Low income", gniCap: 730, adolFertility:103, fertility:4.9, matMortality: 530, childMortality:86, infantMortality:56};
var KIR= {code: "KIR", incomeLevel: "Lower middle income", gniCap: 1960, adolFertility:null, fertility:null, matMortality: null, childMortality:48, infantMortality:38};
var PRK= {code: "PRK", incomeLevel: "Low income", gniCap: null, adolFertility:0, fertility:1.9, matMortality: 250, childMortality:33, infantMortality:26};
var KOR= {code: "KOR", incomeLevel: "High income: OECD", gniCap: 21570, adolFertility:6, fertility:1.2, matMortality: 18, childMortality:5, infantMortality:5};
var KSV= {code: "KSV", incomeLevel: "Lower middle income", gniCap: 2950, adolFertility:null, fertility:2.4, matMortality: null, childMortality:null, infantMortality:null};
var KWT= {code: "KWT", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:13, fertility:2.2, matMortality: 9, childMortality:10, infantMortality:8};
var KGZ= {code: "KGZ", incomeLevel: "Low income", gniCap: 790, adolFertility:32, fertility:2.7, matMortality: 81, childMortality:38, infantMortality:33};
var LAO= {code: "LAO", incomeLevel: "Low income", gniCap: 750, adolFertility:37, fertility:3.5, matMortality: 580, childMortality:61, infantMortality:48};
var LVA= {code: "LVA", incomeLevel: "High income: nonOECD", gniCap: 11940, adolFertility:15, fertility:1.5, matMortality: 20, childMortality:9, infantMortality:7};
var LBN= {code: "LBN", incomeLevel: "Upper middle income", gniCap: 6980, adolFertility:16, fertility:1.8, matMortality: 26, childMortality:13, infantMortality:12};
var LSO= {code: "LSO", incomeLevel: "Lower middle income", gniCap: 1010, adolFertility:72, fertility:3.3, matMortality: 530, childMortality:91, infantMortality:66};
var LBR= {code: "LBR", incomeLevel: "Low income", gniCap: 170, adolFertility:140, fertility:5.9, matMortality: 990, childMortality:119, infantMortality:85};
var LBY= {code: "LBY", incomeLevel: "Upper middle income", gniCap: 12380, adolFertility:3, fertility:2.7, matMortality: 64, childMortality:19, infantMortality:17};
var LIE= {code: "LIE", incomeLevel: "High income: nonOECD", gniCap: 113210, adolFertility:null, fertility:1.4, matMortality: null, childMortality:2, infantMortality:2};
var LTU= {code: "LTU", incomeLevel: "Upper middle income", gniCap: 11890, adolFertility:21, fertility:1.5, matMortality: 13, childMortality:7, infantMortality:5};
var LUX= {code: "LUX", incomeLevel: "High income: OECD", gniCap: 81970, adolFertility:12, fertility:1.6, matMortality: 17, childMortality:3, infantMortality:2};
var MAC= {code: "MAC", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:5, fertility:0.9, matMortality: null, childMortality:null, infantMortality:null};
var MKD= {code: "MKD", incomeLevel: "Upper middle income", gniCap: 4120, adolFertility:21, fertility:1.4, matMortality: 9, childMortality:11, infantMortality:11};
var MDG= {code: "MDG", incomeLevel: "Low income", gniCap: 420, adolFertility:131, fertility:4.7, matMortality: 440, childMortality:61, infantMortality:43};
var MWI= {code: "MWI", incomeLevel: "Low income", gniCap: 260, adolFertility:133, fertility:5.5, matMortality: 510, childMortality:115, infantMortality:71};
var MYS= {code: "MYS", incomeLevel: "Upper middle income", gniCap: 7270, adolFertility:13, fertility:2.6, matMortality: 31, childMortality:6, infantMortality:6};
var MDV= {code: "MDV", incomeLevel: "Lower middle income", gniCap: 3700, adolFertility:13, fertility:2, matMortality: 37, childMortality:15, infantMortality:13};
var MLI= {code: "MLI", incomeLevel: "Low income", gniCap: 610, adolFertility:161, fertility:6.5, matMortality: 830, childMortality:194, infantMortality:103};
var MLT= {code: "MLT", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:11, fertility:1.4, matMortality: 8, childMortality:7, infantMortality:6};
var MHL= {code: "MHL", incomeLevel: "Lower middle income", gniCap: 3120, adolFertility:null, fertility:null, matMortality: null, childMortality:36, infantMortality:30};
var MRT= {code: "MRT", incomeLevel: "Low income", gniCap: 980, adolFertility:88, fertility:4.5, matMortality: 550, childMortality:118, infantMortality:75};
var MUS= {code: "MUS", incomeLevel: "Upper middle income", gniCap: 6720, adolFertility:40, fertility:1.6, matMortality: 36, childMortality:17, infantMortality:15};
var MYT= {code: "MYT", incomeLevel: "Upper middle income", gniCap: null, adolFertility:43, fertility:3.1, matMortality: null, childMortality:null, infantMortality:null};
var MEX= {code: "MEX", incomeLevel: "Upper middle income", gniCap: 10000, adolFertility:64, fertility:2.1, matMortality: 85, childMortality:18, infantMortality:15};
var FSM= {code: "FSM", incomeLevel: "Lower middle income", gniCap: 2460, adolFertility:25, fertility:3.6, matMortality: null, childMortality:39, infantMortality:32};
var MDA= {code: "MDA", incomeLevel: "Lower middle income", gniCap: 1500, adolFertility:33, fertility:1.5, matMortality: 32, childMortality:17, infantMortality:15};
var MCO= {code: "MCO", incomeLevel: "High income: nonOECD", gniCap: 203900, adolFertility:null, fertility:null, matMortality: null, childMortality:4, infantMortality:3};
var MNG= {code: "MNG", incomeLevel: "Lower middle income", gniCap: 1670, adolFertility:16, fertility:2, matMortality: 65, childMortality:31, infantMortality:26};
var MNE= {code: "MNE", incomeLevel: "Upper middle income", gniCap: 6440, adolFertility:15, fertility:1.6, matMortality: 15, childMortality:9, infantMortality:8};
var MAR= {code: "MAR", incomeLevel: "Lower middle income", gniCap: 2520, adolFertility:19, fertility:2.4, matMortality: 110, childMortality:39, infantMortality:35};
var MOZ= {code: "MOZ", incomeLevel: "Low income", gniCap: 380, adolFertility:146, fertility:5.1, matMortality: 550, childMortality:147, infantMortality:99};
var MMR= {code: "MMR", incomeLevel: "Low income", gniCap: null, adolFertility:18, fertility:2.3, matMortality: 240, childMortality:73, infantMortality:55};
var NAM= {code: "NAM", incomeLevel: "Upper middle income", gniCap: 4260, adolFertility:72, fertility:3.4, matMortality: 180, childMortality:50, infantMortality:35};
var NPL= {code: "NPL", incomeLevel: "Low income", gniCap: 400, adolFertility:99, fertility:2.9, matMortality: 380, childMortality:51, infantMortality:41};
var NLD= {code: "NLD", incomeLevel: "High income: OECD", gniCap: 48520, adolFertility:4, fertility:1.8, matMortality: 9, childMortality:5, infantMortality:4};
var ANT= {code: "ANT", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:31, fertility:2, matMortality: null, childMortality:null, infantMortality:null};
var NCL= {code: "NCL", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:26, fertility:2.2, matMortality: null, childMortality:null, infantMortality:null};
var NZL= {code: "NZL", incomeLevel: "High income: OECD", gniCap: 27260, adolFertility:22, fertility:2.2, matMortality: 14, childMortality:6, infantMortality:5};
var NIC= {code: "NIC", incomeLevel: "Lower middle income", gniCap: 1050, adolFertility:112, fertility:2.7, matMortality: 100, childMortality:27, infantMortality:23};
var NER= {code: "NER", incomeLevel: "Low income", gniCap: 330, adolFertility:156, fertility:7.1, matMortality: 820, childMortality:167, infantMortality:79};
var NGA= {code: "NGA", incomeLevel: "Lower middle income", gniCap: 1170, adolFertility:124, fertility:5.7, matMortality: 840, childMortality:143, infantMortality:89};
var MNP= {code: "MNP", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:null, fertility:null, matMortality: null, childMortality:null, infantMortality:null};
var NOR= {code: "NOR", incomeLevel: "High income: OECD", gniCap: 84840, adolFertility:8, fertility:2, matMortality: 7, childMortality:4, infantMortality:3};
var OMN= {code: "OMN", incomeLevel: "High income: nonOECD", gniCap: 17890, adolFertility:10, fertility:3, matMortality: 20, childMortality:13, infantMortality:10};
var PAK= {code: "PAK", incomeLevel: "Lower middle income", gniCap: 940, adolFertility:45, fertility:4, matMortality: 260, childMortality:89, infantMortality:72};
var PLW= {code: "PLW", incomeLevel: "Upper middle income", gniCap: 6690, adolFertility:null, fertility:null, matMortality: null, childMortality:15, infantMortality:13};
var PAN= {code: "PAN", incomeLevel: "Upper middle income", gniCap: 6280, adolFertility:82, fertility:2.5, matMortality: 71, childMortality:23, infantMortality:16};
var PNG= {code: "PNG", incomeLevel: "Lower middle income", gniCap: 1090, adolFertility:54, fertility:4.1, matMortality: 250, childMortality:69, infantMortality:53};
var PRY= {code: "PRY", incomeLevel: "Lower middle income", gniCap: 2130, adolFertility:72, fertility:3, matMortality: 95, childMortality:23, infantMortality:20};
var PER= {code: "PER", incomeLevel: "Upper middle income", gniCap: 3990, adolFertility:54, fertility:2.6, matMortality: 98, childMortality:23, infantMortality:21};
var PHL= {code: "PHL", incomeLevel: "Lower middle income", gniCap: 1890, adolFertility:44, fertility:3.1, matMortality: 94, childMortality:34, infantMortality:27};
var POL= {code: "POL", incomeLevel: "High income: OECD", gniCap: 11820, adolFertility:14, fertility:1.4, matMortality: 6, childMortality:7, infantMortality:6};
var PRT= {code: "PRT", incomeLevel: "High income: OECD", gniCap: 21530, adolFertility:16, fertility:1.4, matMortality: 7, childMortality:4, infantMortality:3};
var PRI= {code: "PRI", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:53, fertility:1.8, matMortality: 18, childMortality:null, infantMortality:null};
var QAT= {code: "QAT", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:16, fertility:2.4, matMortality: 8, childMortality:11, infantMortality:10};
var ROM= {code: "ROM", incomeLevel: "Upper middle income", gniCap: 8290, adolFertility:31, fertility:1.4, matMortality: 27, childMortality:13, infantMortality:11};
var RUS= {code: "RUS", incomeLevel: "Upper middle income", gniCap: 9640, adolFertility:25, fertility:1.5, matMortality: 39, childMortality:13, infantMortality:12};
var RWA= {code: "RWA", incomeLevel: "Low income", gniCap: 410, adolFertility:36, fertility:5.4, matMortality: 540, childMortality:117, infantMortality:74};
var WSM= {code: "WSM", incomeLevel: "Lower middle income", gniCap: 2930, adolFertility:27, fertility:4, matMortality: null, childMortality:26, infantMortality:22};
var SMR= {code: "SMR", incomeLevel: "High income: nonOECD", gniCap: 50670, adolFertility:null, fertility:1.5, matMortality: null, childMortality:2, infantMortality:1};
var STP= {code: "STP", incomeLevel: "Lower middle income", gniCap: 1020, adolFertility:65, fertility:3.8, matMortality: null, childMortality:79, infantMortality:52};
var SAU= {code: "SAU", incomeLevel: "High income: nonOECD", gniCap: 17700, adolFertility:26, fertility:3.1, matMortality: 24, childMortality:21, infantMortality:18};
var SEN= {code: "SEN", incomeLevel: "Lower middle income", gniCap: 980, adolFertility:102, fertility:4.8, matMortality: 410, childMortality:95, infantMortality:52};
var SRB= {code: "SRB", incomeLevel: "Upper middle income", gniCap: 5520, adolFertility:22, fertility:1.4, matMortality: 8, childMortality:8, infantMortality:7};
var SYC= {code: "SYC", incomeLevel: "Upper middle income", gniCap: 10530, adolFertility:null, fertility:2.3, matMortality: null, childMortality:13, infantMortality:11};
var SLE= {code: "SLE", incomeLevel: "Low income", gniCap: 320, adolFertility:125, fertility:5.2, matMortality: 970, childMortality:198, infantMortality:126};
var SGP= {code: "SGP", incomeLevel: "High income: nonOECD", gniCap: 37650, adolFertility:4, fertility:1.3, matMortality: 9, childMortality:3, infantMortality:2};
var SVK= {code: "SVK", incomeLevel: "High income: OECD", gniCap: 16590, adolFertility:20, fertility:1.3, matMortality: 6, childMortality:7, infantMortality:6};
var SVN= {code: "SVN", incomeLevel: "High income: OECD", gniCap: 24280, adolFertility:5, fertility:1.5, matMortality: 18, childMortality:3, infantMortality:3};
var SLB= {code: "SLB", incomeLevel: "Low income", gniCap: 1050, adolFertility:41, fertility:3.9, matMortality: 100, childMortality:36, infantMortality:30};
var SOM= {code: "SOM", incomeLevel: "Low income", gniCap: null, adolFertility:70, fertility:6.4, matMortality: 1200, childMortality:180, infantMortality:109};
var ZAF= {code: "ZAF", incomeLevel: "Upper middle income", gniCap: 5870, adolFertility:58, fertility:2.5, matMortality: 410, childMortality:65, infantMortality:45};
var ESP= {code: "ESP", incomeLevel: "High income: OECD", gniCap: 31790, adolFertility:12, fertility:1.5, matMortality: 6, childMortality:4, infantMortality:4};
var LKA= {code: "LKA", incomeLevel: "Lower middle income", gniCap: 1780, adolFertility:29, fertility:2.3, matMortality: 39, childMortality:15, infantMortality:13};
var KNA= {code: "KNA", incomeLevel: "Upper middle income", gniCap: 11210, adolFertility:null, fertility:null, matMortality: null, childMortality:16, infantMortality:14};
var LCA= {code: "LCA", incomeLevel: "Upper middle income", gniCap: 5430, adolFertility:61, fertility:2, matMortality: null, childMortality:19, infantMortality:18};
var VCT= {code: "VCT", incomeLevel: "Upper middle income", gniCap: 5130, adolFertility:58, fertility:2.1, matMortality: null, childMortality:13, infantMortality:12};
var SDN= {code: "SDN", incomeLevel: "Lower middle income", gniCap: 1120, adolFertility:56, fertility:4.2, matMortality: 750, childMortality:109, infantMortality:70};
var SUR= {code: "SUR", incomeLevel: "Upper middle income", gniCap: 4760, adolFertility:39, fertility:2.4, matMortality: 100, childMortality:27, infantMortality:25};
var SWZ= {code: "SWZ", incomeLevel: "Lower middle income", gniCap: 2560, adolFertility:82, fertility:3.5, matMortality: 420, childMortality:77, infantMortality:53};
var SWE= {code: "SWE", incomeLevel: "High income: OECD", gniCap: 52440, adolFertility:8, fertility:1.9, matMortality: 5, childMortality:3, infantMortality:2};
var CHE= {code: "CHE", incomeLevel: "High income: OECD", gniCap: 56770, adolFertility:5, fertility:1.5, matMortality: 10, childMortality:5, infantMortality:4};
var SYR= {code: "SYR", incomeLevel: "Lower middle income", gniCap: 2150, adolFertility:59, fertility:3.2, matMortality: 46, childMortality:17, infantMortality:15};
var TJK= {code: "TJK", incomeLevel: "Low income", gniCap: 600, adolFertility:28, fertility:3.4, matMortality: 64, childMortality:64, infantMortality:54};
var TZA= {code: "TZA", incomeLevel: "Low income", gniCap: 460, adolFertility:130, fertility:5.6, matMortality: 790, childMortality:111, infantMortality:70};
var THA= {code: "THA", incomeLevel: "Lower middle income", gniCap: 3670, adolFertility:37, fertility:1.8, matMortality: 48, childMortality:14, infantMortality:13};
var TMP= {code: "TMP", incomeLevel: "Lower middle income", gniCap: 2460, adolFertility:53, fertility:6.5, matMortality: 370, childMortality:60, infantMortality:51};
var TGO= {code: "TGO", incomeLevel: "Low income", gniCap: 410, adolFertility:64, fertility:4.3, matMortality: 350, childMortality:100, infantMortality:66};
var TON= {code: "TON", incomeLevel: "Lower middle income", gniCap: 3240, adolFertility:22, fertility:4, matMortality: null, childMortality:19, infantMortality:17};
var TTO= {code: "TTO", incomeLevel: "High income: nonOECD", gniCap: 15420, adolFertility:34, fertility:1.6, matMortality: 55, childMortality:35, infantMortality:31};
var TUN= {code: "TUN", incomeLevel: "Lower middle income", gniCap: 3540, adolFertility:7, fertility:2.1, matMortality: 60, childMortality:21, infantMortality:18};
var TUR= {code: "TUR", incomeLevel: "Upper middle income", gniCap: 8890, adolFertility:38, fertility:2.1, matMortality: 23, childMortality:22, infantMortality:20};
var TKM= {code: "TKM", incomeLevel: "Lower middle income", gniCap: 2760, adolFertility:19, fertility:2.5, matMortality: 77, childMortality:48, infantMortality:43};
var TCA= {code: "TCA", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:null, fertility:null, matMortality: null, childMortality:null, infantMortality:null};
var TUV= {code: "TUV", incomeLevel: "Lower middle income", gniCap: null, adolFertility:null, fertility:null, matMortality: null, childMortality:36, infantMortality:30};
var UGA= {code: "UGA", incomeLevel: "Low income", gniCap: 420, adolFertility:148, fertility:6.3, matMortality: 430, childMortality:130, infantMortality:81};
var UKR= {code: "UKR", incomeLevel: "Lower middle income", gniCap: 3210, adolFertility:28, fertility:1.4, matMortality: 26, childMortality:16, infantMortality:14};
var ARE= {code: "ARE", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:16, fertility:1.9, matMortality: 10, childMortality:8, infantMortality:7};
var GBR= {code: "GBR", incomeLevel: "High income: OECD", gniCap: 45760, adolFertility:24, fertility:1.9, matMortality: 12, childMortality:6, infantMortality:5};
var USA= {code: "USA", incomeLevel: "High income: OECD", gniCap: 47580, adolFertility:35, fertility:2.1, matMortality: 24, childMortality:8, infantMortality:7};
var URY= {code: "URY", incomeLevel: "Upper middle income", gniCap: 8020, adolFertility:61, fertility:2, matMortality: 27, childMortality:14, infantMortality:12};
var UZB= {code: "UZB", incomeLevel: "Lower middle income", gniCap: 900, adolFertility:13, fertility:2.6, matMortality: 30, childMortality:38, infantMortality:34};
var VUT= {code: "VUT", incomeLevel: "Lower middle income", gniCap: 2490, adolFertility:46, fertility:4, matMortality: null, childMortality:17, infantMortality:15};
var VEN= {code: "VEN", incomeLevel: "Upper middle income", gniCap: 9170, adolFertility:90, fertility:2.5, matMortality: 68, childMortality:18, infantMortality:16};
var VNM= {code: "VNM", incomeLevel: "Lower middle income", gniCap: 860, adolFertility:17, fertility:2.1, matMortality: 56, childMortality:24, infantMortality:20};
var VIR= {code: "VIR", incomeLevel: "High income: nonOECD", gniCap: null, adolFertility:30, fertility:1.9, matMortality: null, childMortality:null, infantMortality:null};
var WBG= {code: "WBG", incomeLevel: "Lower middle income", gniCap: null, adolFertility:77, fertility:5, matMortality: null, childMortality:30, infantMortality:25};
var YEM= {code: "YEM", incomeLevel: "Lower middle income", gniCap: 960, adolFertility:67, fertility:5.2, matMortality: 210, childMortality:70, infantMortality:53};
var ZMB= {code: "ZMB", incomeLevel: "Low income", gniCap: 960, adolFertility:139, fertility:5.8, matMortality: 470, childMortality:145, infantMortality:88};
var ZWE= {code: "ZWE", incomeLevel: "Low income", gniCap: null, adolFertility:64, fertility:3.4, matMortality: 790, childMortality:93, infantMortality:58};

var highCountry = {   level: "high-income",   gdp: 15,   fertility: 1.8,   mortality: 15 };
var upmiddleCountry = {   level: "upper middle-income",   gdp: 10,   fertility: 2,   mortality: 82 };
var lowmiddleCountry = {   level: "lower middle-income",   gdp: 10,   fertility: 2.5,   mortality: 230 };
var lowCountry = {  level: "low-income",   gdp: 5,   fertility: 4.3,   mortality: 580 };



var userCountry = {code: "", incomeLevel: "", gniCap: null, adolFertility: null, fertility:null, matMortality: null, childMortality:null, infantMortality:null};
var coCode;

// end of variable declaration

// begins declaration of functions


//if function depending on COUNTRY selection
	function assignLevel() {
		var coCode=$('#country-choice').val();
switch (coCode){
case  "AFG": userCountry = AFG; break;
case  "ALB": userCountry = ALB; break;
case  "DZA": userCountry = DZA; break;
case  "ASM": userCountry = ASM; break;
case  "ADO": userCountry = ADO; break;
case  "AGO": userCountry = AGO; break;
case  "ATG": userCountry = ATG; break;
case  "ARG": userCountry = ARG; break;
case  "ARM": userCountry = ARM; break;
case  "ABW": userCountry = ABW; break;
case  "AUS": userCountry = AUS; break;
case  "AUT": userCountry = AUT; break;
case  "AZE": userCountry = AZE; break;
case  "BHS": userCountry = BHS; break;
case  "BHR": userCountry = BHR; break;
case  "BGD": userCountry = BGD; break;
case  "BRB": userCountry = BRB; break;
case  "BLR": userCountry = BLR; break;
case  "BEL": userCountry = BEL; break;
case  "BLZ": userCountry = BLZ; break;
case  "BEN": userCountry = BEN; break;
case  "BMU": userCountry = BMU; break;
case  "BTN": userCountry = BTN; break;
case  "BOL": userCountry = BOL; break;
case  "BIH": userCountry = BIH; break;
case  "BWA": userCountry = BWA; break;
case  "BRA": userCountry = BRA; break;
case  "BRN": userCountry = BRN; break;
case  "BGR": userCountry = BGR; break;
case  "BFA": userCountry = BFA; break;
case  "BDI": userCountry = BDI; break;
case  "KHM": userCountry = KHM; break;
case  "CMR": userCountry = CMR; break;
case  "CAN": userCountry = CAN; break;
case  "CPV": userCountry = CPV; break;
case  "CYM": userCountry = CYM; break;
case  "CAF": userCountry = CAF; break;
case  "TCD": userCountry = TCD; break;
case  "CHI": userCountry = CHI; break;
case  "CHL": userCountry = CHL; break;
case  "CHN": userCountry = CHN; break;
case  "COL": userCountry = COL; break;
case  "COM": userCountry = COM; break;
case  "ZAR": userCountry = ZAR; break;
case  "COG": userCountry = COG; break;
case  "CRI": userCountry = CRI; break;
case  "CIV": userCountry = CIV; break;
case  "HRV": userCountry = HRV; break;
case  "CUB": userCountry = CUB; break;
case  "CYP": userCountry = CYP; break;
case  "CZE": userCountry = CZE; break;
case  "DNK": userCountry = DNK; break;
case  "DJI": userCountry = DJI; break;
case  "DMA": userCountry = DMA; break;
case  "DOM": userCountry = DOM; break;
case  "ECU": userCountry = ECU; break;
case  "EGY": userCountry = EGY; break;
case  "SLV": userCountry = SLV; break;
case  "GNQ": userCountry = GNQ; break;
case  "ERI": userCountry = ERI; break;
case  "EST": userCountry = EST; break;
case  "ETH": userCountry = ETH; break;
case  "FRO": userCountry = FRO; break;
case  "FJI": userCountry = FJI; break;
case  "FIN": userCountry = FIN; break;
case  "FRA": userCountry = FRA; break;
case  "PYF": userCountry = PYF; break;
case  "GAB": userCountry = GAB; break;
case  "GMB": userCountry = GMB; break;
case  "GEO": userCountry = GEO; break;
case  "DEU": userCountry = DEU; break;
case  "GHA": userCountry = GHA; break;
case  "GIB": userCountry = GIB; break;
case  "GRC": userCountry = GRC; break;
case  "GRL": userCountry = GRL; break;
case  "GRD": userCountry = GRD; break;
case  "GUM": userCountry = GUM; break;
case  "GTM": userCountry = GTM; break;
case  "GIN": userCountry = GIN; break;
case  "GNB": userCountry = GNB; break;
case  "GUY": userCountry = GUY; break;
case  "HTI": userCountry = HTI; break;
case  "HND": userCountry = HND; break;
case  "HKG": userCountry = HKG; break;
case  "HUN": userCountry = HUN; break;
case  "ISL": userCountry = ISL; break;
case  "IND": userCountry = IND; break;
case  "IDN": userCountry = IDN; break;
case  "IRN": userCountry = IRN; break;
case  "IRQ": userCountry = IRQ; break;
case  "IRL": userCountry = IRL; break;
case  "IMY": userCountry = IMY; break;
case  "ISR": userCountry = ISR; break;
case  "ITA": userCountry = ITA; break;
case  "JAM": userCountry = JAM; break;
case  "JPN": userCountry = JPN; break;
case  "JOR": userCountry = JOR; break;
case  "KAZ": userCountry = KAZ; break;
case  "KEN": userCountry = KEN; break;
case  "KIR": userCountry = KIR; break;
case  "PRK": userCountry = PRK; break;
case  "KOR": userCountry = KOR; break;
case  "KSV": userCountry = KSV; break;
case  "KWT": userCountry = KWT; break;
case  "KGZ": userCountry = KGZ; break;
case  "LAO": userCountry = LAO; break;
case  "LVA": userCountry = LVA; break;
case  "LBN": userCountry = LBN; break;
case  "LSO": userCountry = LSO; break;
case  "LBR": userCountry = LBR; break;
case  "LBY": userCountry = LBY; break;
case  "LIE": userCountry = LIE; break;
case  "LTU": userCountry = LTU; break;
case  "LUX": userCountry = LUX; break;
case  "MAC": userCountry = MAC; break;
case  "MKD": userCountry = MKD; break;
case  "MDG": userCountry = MDG; break;
case  "MWI": userCountry = MWI; break;
case  "MYS": userCountry = MYS; break;
case  "MDV": userCountry = MDV; break;
case  "MLI": userCountry = MLI; break;
case  "MLT": userCountry = MLT; break;
case  "MHL": userCountry = MHL; break;
case  "MRT": userCountry = MRT; break;
case  "MUS": userCountry = MUS; break;
case  "MYT": userCountry = MYT; break;
case  "MEX": userCountry = MEX; break;
case  "FSM": userCountry = FSM; break;
case  "MDA": userCountry = MDA; break;
case  "MCO": userCountry = MCO; break;
case  "MNG": userCountry = MNG; break;
case  "MNE": userCountry = MNE; break;
case  "MAR": userCountry = MAR; break;
case  "MOZ": userCountry = MOZ; break;
case  "MMR": userCountry = MMR; break;
case  "NAM": userCountry = NAM; break;
case  "NPL": userCountry = NPL; break;
case  "NLD": userCountry = NLD; break;
case  "ANT": userCountry = ANT; break;
case  "NCL": userCountry = NCL; break;
case  "NZL": userCountry = NZL; break;
case  "NIC": userCountry = NIC; break;
case  "NER": userCountry = NER; break;
case  "NGA": userCountry = NGA; break;
case  "MNP": userCountry = MNP; break;
case  "NOR": userCountry = NOR; break;
case  "OMN": userCountry = OMN; break;
case  "PAK": userCountry = PAK; break;
case  "PLW": userCountry = PLW; break;
case  "PAN": userCountry = PAN; break;
case  "PNG": userCountry = PNG; break;
case  "PRY": userCountry = PRY; break;
case  "PER": userCountry = PER; break;
case  "PHL": userCountry = PHL; break;
case  "POL": userCountry = POL; break;
case  "PRT": userCountry = PRT; break;
case  "PRI": userCountry = PRI; break;
case  "QAT": userCountry = QAT; break;
case  "ROM": userCountry = ROM; break;
case  "RUS": userCountry = RUS; break;
case  "RWA": userCountry = RWA; break;
case  "WSM": userCountry = WSM; break;
case  "SMR": userCountry = SMR; break;
case  "STP": userCountry = STP; break;
case  "SAU": userCountry = SAU; break;
case  "SEN": userCountry = SEN; break;
case  "SRB": userCountry = SRB; break;
case  "SYC": userCountry = SYC; break;
case  "SLE": userCountry = SLE; break;
case  "SGP": userCountry = SGP; break;
case  "SVK": userCountry = SVK; break;
case  "SVN": userCountry = SVN; break;
case  "SLB": userCountry = SLB; break;
case  "SOM": userCountry = SOM; break;
case  "ZAF": userCountry = ZAF; break;
case  "ESP": userCountry = ESP; break;
case  "LKA": userCountry = LKA; break;
case  "KNA": userCountry = KNA; break;
case  "LCA": userCountry = LCA; break;
case  "VCT": userCountry = VCT; break;
case  "SDN": userCountry = SDN; break;
case  "SUR": userCountry = SUR; break;
case  "SWZ": userCountry = SWZ; break;
case  "SWE": userCountry = SWE; break;
case  "CHE": userCountry = CHE; break;
case  "SYR": userCountry = SYR; break;
case  "TJK": userCountry = TJK; break;
case  "TZA": userCountry = TZA; break;
case  "THA": userCountry = THA; break;
case  "TMP": userCountry = TMP; break;
case  "TGO": userCountry = TGO; break;
case  "TON": userCountry = TON; break;
case  "TTO": userCountry = TTO; break;
case  "TUN": userCountry = TUN; break;
case  "TUR": userCountry = TUR; break;
case  "TKM": userCountry = TKM; break;
case  "TCA": userCountry = TCA; break;
case  "TUV": userCountry = TUV; break;
case  "UGA": userCountry = UGA; break;
case  "UKR": userCountry = UKR; break;
case  "ARE": userCountry = ARE; break;
case  "GBR": userCountry = GBR; break;
case  "USA": userCountry = USA; break;
case  "URY": userCountry = URY; break;
case  "UZB": userCountry = UZB; break;
case  "VUT": userCountry = VUT; break;
case  "VEN": userCountry = VEN; break;
case  "VNM": userCountry = VNM; break;
case  "VIR": userCountry = VIR; break;
case  "WBG": userCountry = WBG; break;
case  "YEM": userCountry = YEM; break;
case  "ZMB": userCountry = ZMB; break;
case  "ZWE": userCountry = ZWE; break;
default: alert ('Select a valid economy');
			break;
	}
}


	
//displays content based on selection in the COUNTRY SELECTION page
	function customText() {
		$('#custom-text-fertility').html('<div class="ui-body ui-body-e">In <strong>' + $('#country-choice option:selected').text()+ '</strong>, '+ userCountry.incomeLevel + ' country, women have <strong><font size="6">' + userCountry.fertility + '</font></strong> children (on average).<br><strong><font size="6">' + userCountry.matMortality + '</font></strong> women die for every 100,000 live births.<div class="ui-body ui-body-e">Learn about family planning at <a href="http://www.unfpa.org/rh/">UNFPA.org</a> (external link).<br><br>Or <a href="index.html#item4" rel="external">click here to learn about visiting a doctor to reduce the risk of mortality.</a></div>');
	}

		
	//Calling functions at the click button in Country Selection page
	function clickActions() {
		assignLevel(),
		customText();
	}
	
	
